package com.foreverwin.jzymes.common.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import java.util.Date;

/**
 * EAP消息日志表 Z_PAGE_DATA
 * 
 * @author ervin
 * @date 2019-05-16
 */
public class PageData
{
	private static final long serialVersionUID = 1L;
	
	/** 主键 */
	private String handle;
	/** 站点 */
	private String site;
	/** 通道 */
	private String channel;
	/** 数据类型 */
	private String msgType;
	/** 消息内容 */
	private String message;
	/** 发送日期 */
	private Date sendTime;

	public void setHandle(String handle) 
	{
		this.handle = handle;
	}

	public String getHandle() 
	{
		return handle;
	}
	public void setSite(String site) 
	{
		this.site = site;
	}

	public String getSite() 
	{
		return site;
	}
	public void setChannel(String channel) 
	{
		this.channel = channel;
	}

	public String getChannel() 
	{
		return channel;
	}
	public void setMsgType(String msgType) 
	{
		this.msgType = msgType;
	}

	public String getMsgType() 
	{
		return msgType;
	}
	public void setMessage(String message) 
	{
		this.message = message;
	}

	public String getMessage() 
	{
		return message;
	}
	public void setSendTime(Date sendTime) 
	{
		this.sendTime = sendTime;
	}

	public Date getSendTime() 
	{
		return sendTime;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("handle", getHandle())
            .append("site", getSite())
            .append("channel", getChannel())
            .append("msgType", getMsgType())
            .append("message", getMessage())
            .append("sendTime", getSendTime())
            .toString();
    }
}
